package com.yeyks.activity.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 奖品明细表
 * </p>
 *
 * @author shuai
 * @since 2019-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ActivityPrizeList对象", description="奖品明细表")
public class ActivityPrizeList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "活动编号")
    @TableField("activity_code")
    private String activityCode;

    @ApiModelProperty(value = "奖品id")
    @TableField("prize_id")
    private Integer prizeId;

    @ApiModelProperty(value = "兑换码")
    @TableField("redeem_code")
    private String redeemCode;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "账单类型：0：未兑换  1：已兑换")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String ACTIVITY_CODE = "activity_code";

    public static final String PRIZE_ID = "prize_id";

    public static final String REDEEM_CODE = "redeem_code";

    public static final String REMARK = "remark";

    public static final String STATUS = "status";

    public static final String CREATE_TIME = "create_time";

}
